package com.vercon.common.mode.weather;

import java.io.Serializable;

/**
 * Created by csh on 2020/7/31
 * 聚合天气
 */
public class Weather implements Serializable {
    private String resultcode;
    private String reason;
    private String error_code;
    private WeatherData result;


    public boolean isSuccessful() {
        return getResultcode().equals("200");
    }


    public String getResultcode() {
        return resultcode;
    }

    public void setResultcode(String resultcode) {
        this.resultcode = resultcode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public WeatherData getResult() {
        return result;
    }

    public void setResult(WeatherData result) {
        this.result = result;
    }
}
